//Map Level Dimensions
var Lvl1height = 8;
var Lvl1width = 8;

//The Map Layout
// (down)  (tower) (tower) (tower)
// (down)  (tower) (tower) (tower)
// (down)  (tower) (tower) (tower)
// (down)  (tower) (tower) (tower)


var Level1 = new Level(null,Lvl1height,Lvl1width);
var map1 =
[	'h'			,'l' 		,'g'	,'z','k' 		,'o' 	,'x','k' 		,'o' 		,'o'
	,'k'		,'h' 		,'f'		,'k' 		,'o' 		,'t' 		,'l' 	,'z','l'
	,'k'		,'t' 		,'s'		,'w' 	,'z','l' 		,'l' 		,'g' 		,'o'
	,'k'		,'o' 		,'k'		,'o' 		,'o' 		,'o' 		,'k' 		,'o'
	,'k'		,'h' 		,'a'		,'o' 		,'h' 		,'l' 		,'f' 		,'o'
	,'k'		,'k' 		,'k'		,'o' 		,'k' 		,'o' 		,'o' 		,'o'
	,'k'		,'k' 		,'d'		,'g' 		,'t' 		,'l' 		,'l' 	,'z','l'
,'x','k'	,'z','k' 	,'z','k'	,'z','k' 		,'o' 		,'o' 		,'o' 		,'o'
]

Level1.MapBuilder(map1,Lvl1height,Lvl1width);

var background1 = {
x:0,
y:0,
drawID:indexLevel1
}

Level1.addMapData(background1);
Level1.SetMapData();